package com.woniu.outlet.mysql;

import com.woniu.outlet.mysql.po.BuyRecordMySQL;
import com.woniu.outlet.mysql.po.BuyRecordMySQLExample;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BuyRecordDao {
    int deleteByPrimaryKey(Integer id);

    int insert(BuyRecordMySQL record);

    int insertSelective(BuyRecordMySQL record);

    List<BuyRecordMySQL> selectByExample(BuyRecordMySQLExample example);

    BuyRecordMySQL selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BuyRecordMySQL record);

    int updateByPrimaryKey(BuyRecordMySQL record);
}